$('#reservationForm').validate();

$('#reservationForm').submit(function(){
	
	requestPost($(this).attr('action'), $(this).serialize(), function(out){
		
		alert(out.msg);
		
		if(out.status){
			
			$('#reservationForm #booknoreservedid').val('');
			$('#reservationForm #patrnid').val('');
			
		}
		
	}, 'json');
	
	return false;
});